<div class="ciuusers view">
<h2><?php  __('Ciuuser');?></h2>
	<dl><?php $i = 0; $class = ' class="altrow"';?>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Id'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $ciuuser['Ciuuser']['id']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Name'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $ciuuser['Ciuuser']['name']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Password'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $ciuuser['Ciuuser']['password']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('First Names'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $ciuuser['Ciuuser']['first_names']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Last Names'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $ciuuser['Ciuuser']['last_names']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Document Type'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $ciuuser['Ciuuser']['document_type']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Document'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $ciuuser['Ciuuser']['document']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Expedition Date'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $ciuuser['Ciuuser']['expedition_date']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Birthday'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $ciuuser['Ciuuser']['birthday']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Address'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $ciuuser['Ciuuser']['address']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Telephone'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $ciuuser['Ciuuser']['telephone']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Email'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $ciuuser['Ciuuser']['email']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Academic Level'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $ciuuser['Ciuuser']['academic_level']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Occupation'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $ciuuser['Ciuuser']['occupation']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Occupation Description'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $ciuuser['Ciuuser']['occupation_description']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Ciuuserstate'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $this->Html->link($ciuuser['Ciuuserstate']['name'], array('controller' => 'ciuuserstates', 'action' => 'view', $ciuuser['Ciuuserstate']['id'])); ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Ciuusertype'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $this->Html->link($ciuuser['Ciuusertype']['name'], array('controller' => 'ciuusertypes', 'action' => 'view', $ciuuser['Ciuusertype']['id'])); ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Contact Name'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $ciuuser['Ciuuser']['contact_name']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Contact Telephone'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $ciuuser['Ciuuser']['contact_telephone']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Created'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $ciuuser['Ciuuser']['created']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Modified'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $ciuuser['Ciuuser']['modified']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Isactive'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $ciuuser['Ciuuser']['isactive']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Ciustudenttype'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $this->Html->link($ciuuser['Ciustudenttype']['name'], array('controller' => 'ciustudenttypes', 'action' => 'view', $ciuuser['Ciustudenttype']['id'])); ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Ciuteachertype Id'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $ciuuser['Ciuuser']['ciuteachertype_id']; ?>
			&nbsp;
		</dd>
	</dl>
</div>
<div class="actions">
	<h3><?php __('Actions'); ?></h3>
	<ul>
		<li><?php echo $this->Html->link(__('Edit Ciuuser', true), array('action' => 'edit', $ciuuser['Ciuuser']['id'])); ?> </li>
		<li><?php echo $this->Html->link(__('Delete Ciuuser', true), array('action' => 'delete', $ciuuser['Ciuuser']['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $ciuuser['Ciuuser']['id'])); ?> </li>
		<li><?php echo $this->Html->link(__('List Ciuusers', true), array('action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Ciuuser', true), array('action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Ciuuserstates', true), array('controller' => 'ciuuserstates', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Ciuuserstate', true), array('controller' => 'ciuuserstates', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Ciuusertypes', true), array('controller' => 'ciuusertypes', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Ciuusertype', true), array('controller' => 'ciuusertypes', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Ciustudenttypes', true), array('controller' => 'ciustudenttypes', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Ciustudenttype', true), array('controller' => 'ciustudenttypes', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Ciucontracts', true), array('controller' => 'ciucontracts', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Ciucontract', true), array('controller' => 'ciucontracts', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Ciucourses', true), array('controller' => 'ciucourses', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Ciucourse', true), array('controller' => 'ciucourses', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Ciucourse Ciustudents', true), array('controller' => 'ciucourse_ciustudents', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Ciucourse Ciustudent', true), array('controller' => 'ciucourse_ciustudents', 'action' => 'add')); ?> </li>
	</ul>
</div>
<div class="related">
	<h3><?php __('Related Ciucontracts');?></h3>
	<?php if (!empty($ciuuser['Ciucontract'])):?>
	<table cellpadding = "0" cellspacing = "0">
	<tr>
		<th><?php __('Id'); ?></th>
		<th><?php __('Contract Number'); ?></th>
		<th><?php __('Ciuuser Id'); ?></th>
		<th><?php __('Contract Value'); ?></th>
		<th><?php __('Start Date'); ?></th>
		<th><?php __('End Date'); ?></th>
		<th class="actions"><?php __('Actions');?></th>
	</tr>
	<?php
		$i = 0;
		foreach ($ciuuser['Ciucontract'] as $ciucontract):
			$class = null;
			if ($i++ % 2 == 0) {
				$class = ' class="altrow"';
			}
		?>
		<tr<?php echo $class;?>>
			<td><?php echo $ciucontract['id'];?></td>
			<td><?php echo $ciucontract['contract_number'];?></td>
			<td><?php echo $ciucontract['ciuuser_id'];?></td>
			<td><?php echo $ciucontract['contract_value'];?></td>
			<td><?php echo $ciucontract['start_date'];?></td>
			<td><?php echo $ciucontract['end_date'];?></td>
			<td class="actions">
				<?php echo $this->Html->link(__('View', true), array('controller' => 'ciucontracts', 'action' => 'view', $ciucontract['id'])); ?>
				<?php echo $this->Html->link(__('Edit', true), array('controller' => 'ciucontracts', 'action' => 'edit', $ciucontract['id'])); ?>
				<?php echo $this->Html->link(__('Delete', true), array('controller' => 'ciucontracts', 'action' => 'delete', $ciucontract['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $ciucontract['id'])); ?>
			</td>
		</tr>
	<?php endforeach; ?>
	</table>
<?php endif; ?>

	<div class="actions">
		<ul>
			<li><?php echo $this->Html->link(__('New Ciucontract', true), array('controller' => 'ciucontracts', 'action' => 'add'));?> </li>
		</ul>
	</div>
</div>
<div class="related">
	<h3><?php __('Related Ciucourses');?></h3>
	<?php if (!empty($ciuuser['Ciucourse'])):?>
	<table cellpadding = "0" cellspacing = "0">
	<tr>
		<th><?php __('Id'); ?></th>
		<th><?php __('Ciulanguage Id'); ?></th>
		<th><?php __('Ciulevel Id'); ?></th>
		<th><?php __('Ciutimetable Id'); ?></th>
		<th><?php __('Ciuroom Id'); ?></th>
		<th><?php __('Ciuuser Id'); ?></th>
		<th><?php __('Ciucoursestate Id'); ?></th>
		<th><?php __('Ciuacademicperiod Id'); ?></th>
		<th class="actions"><?php __('Actions');?></th>
	</tr>
	<?php
		$i = 0;
		foreach ($ciuuser['Ciucourse'] as $ciucourse):
			$class = null;
			if ($i++ % 2 == 0) {
				$class = ' class="altrow"';
			}
		?>
		<tr<?php echo $class;?>>
			<td><?php echo $ciucourse['id'];?></td>
			<td><?php echo $ciucourse['ciulanguage_id'];?></td>
			<td><?php echo $ciucourse['ciulevel_id'];?></td>
			<td><?php echo $ciucourse['ciutimetable_id'];?></td>
			<td><?php echo $ciucourse['ciuroom_id'];?></td>
			<td><?php echo $ciucourse['ciuuser_id'];?></td>
			<td><?php echo $ciucourse['ciucoursestate_id'];?></td>
			<td><?php echo $ciucourse['ciuacademicperiod_id'];?></td>
			<td class="actions">
				<?php echo $this->Html->link(__('View', true), array('controller' => 'ciucourses', 'action' => 'view', $ciucourse['id'])); ?>
				<?php echo $this->Html->link(__('Edit', true), array('controller' => 'ciucourses', 'action' => 'edit', $ciucourse['id'])); ?>
				<?php echo $this->Html->link(__('Delete', true), array('controller' => 'ciucourses', 'action' => 'delete', $ciucourse['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $ciucourse['id'])); ?>
			</td>
		</tr>
	<?php endforeach; ?>
	</table>
<?php endif; ?>

	<div class="actions">
		<ul>
			<li><?php echo $this->Html->link(__('New Ciucourse', true), array('controller' => 'ciucourses', 'action' => 'add'));?> </li>
		</ul>
	</div>
</div>
<div class="related">
	<h3><?php __('Related Ciucourse Ciustudents');?></h3>
	<?php if (!empty($ciuuser['CiucourseCiustudent'])):?>
	<table cellpadding = "0" cellspacing = "0">
	<tr>
		<th><?php __('Id'); ?></th>
		<th><?php __('Ciucourse Id'); ?></th>
		<th><?php __('Ciuuser Id'); ?></th>
		<th><?php __('Score1'); ?></th>
		<th><?php __('Score2'); ?></th>
		<th><?php __('Score3'); ?></th>
		<th><?php __('Total Score'); ?></th>
		<th class="actions"><?php __('Actions');?></th>
	</tr>
	<?php
		$i = 0;
		foreach ($ciuuser['CiucourseCiustudent'] as $ciucourseCiustudent):
			$class = null;
			if ($i++ % 2 == 0) {
				$class = ' class="altrow"';
			}
		?>
		<tr<?php echo $class;?>>
			<td><?php echo $ciucourseCiustudent['id'];?></td>
			<td><?php echo $ciucourseCiustudent['ciucourse_id'];?></td>
			<td><?php echo $ciucourseCiustudent['ciuuser_id'];?></td>
			<td><?php echo $ciucourseCiustudent['score1'];?></td>
			<td><?php echo $ciucourseCiustudent['score2'];?></td>
			<td><?php echo $ciucourseCiustudent['score3'];?></td>
			<td><?php echo $ciucourseCiustudent['total_score'];?></td>
			<td class="actions">
				<?php echo $this->Html->link(__('View', true), array('controller' => 'ciucourse_ciustudents', 'action' => 'view', $ciucourseCiustudent['id'])); ?>
				<?php echo $this->Html->link(__('Edit', true), array('controller' => 'ciucourse_ciustudents', 'action' => 'edit', $ciucourseCiustudent['id'])); ?>
				<?php echo $this->Html->link(__('Delete', true), array('controller' => 'ciucourse_ciustudents', 'action' => 'delete', $ciucourseCiustudent['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $ciucourseCiustudent['id'])); ?>
			</td>
		</tr>
	<?php endforeach; ?>
	</table>
<?php endif; ?>

	<div class="actions">
		<ul>
			<li><?php echo $this->Html->link(__('New Ciucourse Ciustudent', true), array('controller' => 'ciucourse_ciustudents', 'action' => 'add'));?> </li>
		</ul>
	</div>
</div>
